*{
    padding: 0;
    margin: 0;
}
form{
    width: 300px;
    border: solid 1px black;
    position: absolute;
    left: 50%;
    margin-left: -187px;
    top: 50%;
    margin-top: -160px;
    background-color: white;
}
h2{
    text-align: center;
}

input{
    position: relative;
    left:50px;
    margin: 10px;
}
#submit2{
    width: 50px;
    height: 30px;
    display: block;
    margin: 10px 0 ;
}
#reg{
    position: relative;
    left: 50px;
    padding: 10px 0;
}
#bg{
    width:100%;
    height: 100%;
    position: absolute;
    /*background-color: rgba(0,0,0,0.5);*/
    background-image:url("../img/block/beautifulGirl.png");
    background-size: cover;
    top: 0;
    left: 0;
}
#error1{
    position: relative;
    left: 58px;
    font-size: 10px;
    color: red;
    display: none;
}

#error2{
    position: relative;
    left: 58px;
    font-size: 10px;
    color: red;
    display: none;
}